package com.qijian.maindata.domain;

import com.qijian.common.enums.ApprovalDescriptionEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.qijian.common.annotation.Excel;
import com.qijian.common.core.domain.BaseEntity;

/**
 * 检验计划版本对象 main_inspection_plan_line
 *
 * @author qijian
 * @date 2023-02-02
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ToString
@TableName("main_inspection_plan_line")
public class InspectionPlanLine extends BaseEntity{
    private static final long serialVersionUID = 1L;

    @JsonSerialize(using= ToStringSerializer.class)
    @ApiModelProperty(value = "${column.columnComment}")
    private Long id;

    @Excel(name = "来源id")
    @JsonSerialize(using= ToStringSerializer.class)
    @ApiModelProperty(value = "来源id")
    private Long sourceId;

    @Excel(name = "来源详情id")
    @ApiModelProperty(value = "来源详情id")
    private String sourceDetailId;

    @ApiModelProperty(value = "线路编号")
    private String lineCode;

    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    @JsonSerialize(using= ToStringSerializer.class)
    @ApiModelProperty(value = "${column.columnComment}")
    private Long bomId;

    @Excel(name = "项目id")
    @JsonSerialize(using= ToStringSerializer.class)
    @ApiModelProperty(value = "项目id")
    private Long projectId;

    @Excel(name = "项目名称")
    @ApiModelProperty(value = "项目名称")
    private String projectName;

    @Excel(name = "项目机台号")
    @ApiModelProperty(value = "项目机台号")
    private String projectMachineNo;

    @Excel(name = "版本号")
    @ApiModelProperty(value = "版本号")
    private String version;

}
